package thinking.java.initalization.and.clean.up;

/**
 * @author GaoFeng
 * @date 2020/1/2 14:46
 */
public class Table {

    // 会在f1方法调用前初始化完成
    static Bowl bowl1 = new Bowl(1);

    Table() {
        System.out.println("Table()");
        bowl2.f1(1);
    }

    void f2(int marker) {
        System.out.println("f2(" + marker + ")");
    }

    // 会在f1方法调用前初始化完成
    static Bowl bowl2 = new Bowl(2);


}
